package org.maggioni.springsandbox.rehearsals.e02annotation.e01basic;

import org.maggioni.springsandbox.model.decorators.Showable;
import org.maggioni.springsandbox.model.draw.Point;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Required;

public class MyBean extends Showable {
	
	private String requiredString;
	@Autowired
	private Point point;

	public String getRequiredString() {
		return requiredString;
	}

	@Required
	public void setRequiredString(String requiredString) {
		this.requiredString = requiredString;
	}

	@Override
	public String toString() {
		return "MyBean [requiredString=" + requiredString + ", point=" + point
				+ "]";
	}

	public Point getPoint() {
		return point;
	}

	public void setPoint(Point point) {
		this.point = point;
	}

	

}
